import { request } from '@/utils/request'

export function cardRecord(data) {  // 生成卡密
  return request({
    url: 'dsicm-card-record/h5',
    method: 'post',
    data,
  })
}


export function copyState(data) {  // 更新卡密记录复制状态
  return request({
    url: 'dsicm-card-record/h5/copy_state',
    method: 'put',
    data,
  })
}

export function scan(data) {  // 查找商品是否存在
  return request({
    url: 'system/info/scan',
    method: 'get',
    data,
  })
}









